from binascii import Incomplete
from re import I
import time
imcomplete_sign = 50
print('='*23+'开始下载'+'='*25)
for i in range(imcomplete_sign+1):
    completed = "*"*i
    incomplete = "." * (imcomplete_sign-i)
    percentsge = (i/imcomplete_sign)*100
    print("\r{:.0f}%[{}{}]".format(percentsge,completed,incomplete),end="")
    time.sleep(0.5)
print("\n"+'='*23+'下载完成'+'='*25)